﻿<Window x:Class="Actividad_Parlamentaria.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Actividad_Parlamentaria"
        mc:Ignorable="d"
        Title="Actividad Parlamentaria" Height="740.197" Width="1116.888" Loaded="Window_Loaded" Icon="App.ico">
    <Grid>
        <GroupBox x:Name="groupBoxDiputadosTramites" Header="[ Diputados - Tramites Parlamentarios ]" HorizontalAlignment="Left" VerticalAlignment="Top" Height="96" Width="506" Margin="8,109,0,0">
            <Grid Margin="0">
                <TextBox x:Name="txtDipUrlTramites" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" Text="http://www.hcdn.gob.ar/secparl/dsecretaria/s_t_parlamentario/2017/index.html" VerticalAlignment="Top" Width="439" Margin="48,6,0,0"/>
                <Label x:Name="label_Copy" Content="URL" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,4,0,0"/>
                <Button x:Name="btnDipBuscarTramites" Content="1. Buscar info" HorizontalAlignment="Left" Height="34" Margin="6,35,0,0" VerticalAlignment="Top" Width="157" Click="btnDipBuscarTramites_Click"/>
                <Button x:Name="btnDipProcesarResultados" Content="2. Procesar resultados" HorizontalAlignment="Left" Height="34" Margin="168,35,0,0" VerticalAlignment="Top" Width="157" Click="btnDipProcesarResultados_Click"/>
                <Button x:Name="btnDipMostrarResultados" Content="3. Mostrar resultados" HorizontalAlignment="Left" Height="34" Margin="330,35,0,0" VerticalAlignment="Top" Width="157" Click="btnDipMostrarResultados_Click"/>
            </Grid>
        </GroupBox>
        <GroupBox x:Name="groupBox1" Header="[ Log ]" HorizontalAlignment="Left" Margin="8,410,0,6" Width="506">
            <TextBox x:Name="txtLog" Margin="5" TextWrapping="Wrap" Background="{DynamicResource {x:Static SystemColors.InfoBrushKey}}" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" IsReadOnly="True"/>
        </GroupBox>
        <GroupBox x:Name="groupBox2" Header="[ Resultados ]" Margin="525,0,10,6">
            <Grid Margin="0">
                <RichTextBox x:Name="rtbResult" Margin="5,5,5,0" SpellCheck.IsEnabled="True" VerticalScrollBarVisibility="Auto" IsDocumentEnabled="True" Background="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" Height="286" VerticalAlignment="Top">
                    <FlowDocument/>
                </RichTextBox>
                <TextBox x:Name="txtHTMLResult" Margin="5,307,10,10" TextWrapping="Wrap" Background="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" VerticalScrollBarVisibility="Auto" AcceptsReturn="True"/>
            </Grid>
        </GroupBox>
        <GroupBox x:Name="groupBoxFechas" Header="[ Seleccion de fecha y opciones ]" HorizontalAlignment="Left" VerticalAlignment="Top" Height="104" Width="506" Margin="8,0,0,0">
            <Grid Margin="0">
                <Label x:Name="label2" Content="Desde" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,4,0,0"/>
                <Label x:Name="label3" Content="Hasta" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="169,4,0,0"/>
                <DatePicker x:Name="dtpFechaDesde" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="48,6,0,0" SelectedDate="{Binding PropertyName, StringFormat=dd-MM-yyy}" SnapsToDevicePixels="True"/>
                <DatePicker x:Name="dtpFechaHasta" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="214,6,0,0"/>
                <Label x:Name="label" Content="Tipo de proyectos" HorizontalAlignment="Left" Height="26" Margin="1,35,0,0" VerticalAlignment="Top" Width="109"/>
                <CheckBox x:Name="chkProyectoLey" Content="De ley" HorizontalAlignment="Left" Margin="120,42,0,0" VerticalAlignment="Top" IsChecked="True"/>
                <CheckBox x:Name="chkProyectoResolucion" Content="De resolución" HorizontalAlignment="Left" Margin="120,63,0,0" VerticalAlignment="Top"/>
                <CheckBox x:Name="chkProyectoDeclaracion" Content="De declaración" HorizontalAlignment="Left" Margin="232,63,0,0" VerticalAlignment="Top"/>
                <CheckBox x:Name="chkProyectoComunicacion" Content="De comunicación" HorizontalAlignment="Left" Margin="232,42,0,0" VerticalAlignment="Top"/>
                <CheckBox x:Name="chkProyectoReproduccion" Content="Reproducción" HorizontalAlignment="Left" Margin="359,42,0,0" VerticalAlignment="Top"/>
            </Grid>
        </GroupBox>
        <GroupBox x:Name="groupBoxDiputadosComisiones" Header="[ Diputados - Agenda de Comisiones ]" HorizontalAlignment="Left" VerticalAlignment="Top" Height="96" Width="506" Margin="8,209,0,0">
            <Grid Margin="0">
                <TextBox x:Name="txtDipUrlComisiones" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" Text="http://www.hcdn.gob.ar/comisiones/agenda/agenda_ver_todo.html" VerticalAlignment="Top" Width="439" Margin="48,6,0,0"/>
                <Label x:Name="label_Copy1" Content="URL" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,4,0,0"/>
                <Button x:Name="btnDipBuscarComisiones" Content="1. Buscar info" HorizontalAlignment="Left" Height="34" Margin="6,35,0,0" VerticalAlignment="Top" Width="157" Click="btnDipBuscarComisiones_Click"/>
                <Button x:Name="btnDipMostrarComisiones" Content="2. Mostrar resultados" HorizontalAlignment="Left" Height="34" Margin="168,35,0,0" VerticalAlignment="Top" Width="157" Click="btnDipMostrarComisiones_Click"/>
            </Grid>
        </GroupBox>
        <GroupBox x:Name="groupBoxSenadoresTramites" Header="[ Senadores - Proyectos ]" HorizontalAlignment="Left" VerticalAlignment="Top" Height="96" Width="506" Margin="8,309,0,0">
            <Grid Margin="0">
                <TextBox x:Name="txtSenUrlTramites" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" Text="http://www.senado.gov.ar/senadores/listados/listaSenadoRes" VerticalAlignment="Top" Width="439" Margin="48,6,0,0"/>
                <Label x:Name="label_Copy2" Content="URL" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,4,0,0"/>
                <Button x:Name="btnSenBuscarTramites" Content="1. Buscar info" HorizontalAlignment="Left" Height="34" Margin="6,35,0,0" VerticalAlignment="Top" Width="157" Click="btnSenBuscarTramites_Click"/>
                <Button x:Name="btnSenProcesarResultados" Content="2. Procesar resultados" HorizontalAlignment="Left" Height="34" Margin="168,35,0,0" VerticalAlignment="Top" Width="157" Click="btnSenProcesarResultados_Click"/>
                <Button x:Name="btnSenMostrarResultados" Content="3. Mostrar resultados" HorizontalAlignment="Left" Height="34" Margin="330,35,0,0" VerticalAlignment="Top" Width="157" Click="btnSenMostrarResultados_Click"/>
            </Grid>
        </GroupBox>
    </Grid>
</Window>
